﻿using MediatR;
using T.Common.Domain.Common;

namespace RedDragon.RBAC.API.Application.Common.ProcessW
{
    public class ProcessDetailCreateCommon:IRequest<Result>
    {
        /// <summary>
        /// 工序编码
        /// </summary>
        public string ProcessNumber { get; set; }
        /// <summary>
        /// 工序管理外键
        /// </summary>
        public int ProcessId { get; set; }
        /// <summary>
        /// 资源名称（雪花Id）
        /// </summary>
        public string ProcessDetailName { get; set; }
        /// <summary>
        /// 资源单位
        /// </summary>
        public int ProcessDetailUnits { get; set; }
        /// <summary>
        /// 资源用量
        /// </summary>
        public string? ProcessDetailDosage { get; set; }
        /// <summary>
        /// 成本
        /// </summary>
        public string? UnitsPrice { get; set; }
        /// <summary>
        /// 摘要
        /// </summary>
        public string? Summary { get; set; }
        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime CreateTime { get; set; }
        /// <summary>
        /// 创建人
        /// </summary>
        public string? CreateName { get; set; }
        /// <summary>
        /// 状态
        /// </summary>
        public bool ProcessDetailState { get; set; }

    }
}
